import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { ElectronDevPlugin } from './plugins/vite.electron.dev'
import { ElectronBuildPlugin } from './plugins/vite.electron.build'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), ElectronDevPlugin(), ElectronBuildPlugin()],
  base: './',//默认是绝对路径 / 改成相对路径不然会白屏

})
